﻿using System;

namespace Miao
{
    public class UpdateHandle : Handle
    {
        internal UpdateHandle(Action updateFunction)
        {

            onFinished += () => MiaoRuntime.Updater.RemoveUpdate(updateFunction);
        }
    }
}